package www.dianbaozu.com.ui

import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.MutableLiveData
import www.wen.com.common.lib.base.module.BaseViewModel
import www.wen.com.common.lib.data.entities.AreaCodeEntity
import www.wen.com.common.lib.helper.loading.KeyHelper.MMKV_ITAC
import www.wen.com.common.lib.util.SpUtil

/**
 * @author WEN
 * @Description:
 * @date 2021/8/23 11:14
 */
class ProxyViewModel @ViewModelInject constructor() : BaseViewModel() {

    val itac: MutableLiveData<Int> = MutableLiveData(SpUtil.decodeInt(MMKV_ITAC,86))

    val invitationUrl: MutableLiveData<String> = MutableLiveData("")

    val areaCodeEntities: MutableLiveData<List<AreaCodeEntity>> = MutableLiveData(arrayListOf(
        AreaCodeEntity("China", "中国", "CN", 86)
    ))


}
